package com.cyn.aframework.config;

import com.cyn.aframework.factorybean.FactoryBeanLearn;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class BeanTestConfig {


    @Bean
    public FactoryBeanLearn processEngine(){
        FactoryBeanLearn factoryBeanLearn1 = new FactoryBeanLearn();
        return factoryBeanLearn1;
    }


//     <bean id="car" class="com.test.factorybean.CarFactoryBean" carInfo="大众SUV,180,180000"/>

}
